<div class="appendnote">
    <div class="writenote">
        <div>
            <textarea class="writetext" placeholder="填写新的笔记" name="newnote"></textarea>
        </div>
        <div class="chose">
            选择分类：
            <select name="chosebox">
                {{#each $Cache_Note_get_types}}
                <option bind-value="{{id}}">{{name}}</option>
                {{/each}}
            </select>
        </div>
        <div class="toolbar">
            <div class="item" id="createnote">
                <div class="icon-edit"></div>
                创建
            </div>
            <div class="item" onclick="javascript:document.getElementById('getfile').click()">
                <div class="icon-xiangji"></div>
                发图
            </div>
            <div class="item">
                <div class="icon-fatie"></div>
                链接
            </div>
        </div>
        <div class="imgset">
            <img id="upimg" src="" />
        </div>
        <input type="file" onchange="upfile(this)" id="getfile" style="display:none" />
    </div>

    <div class="notetype">
        <h2>笔记分类</h2>
        <div class="typebox">
            {{#each $Cache_Note_get_types}}
            <div data="{{id}}" class='item' onclick='getMynote(this)'>{{name}}({{num}})</div>
            {{/each}}
        </div>
        <div class="addtype">
            <input type="text" placeholder="填写新的分类" bind-input="{{'$Cache_Note_type_new'}}" name="typename" />
            <div>
                <button name="addtype">添加</button>
            </div>
        </div>
    </div>
</div>
<div class="notelist">
    <div class="list" id="list1">
    </div>
    <div class="list" id="list2"></div>
    <div class="list" id="list3"></div>
</div>
